package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.base.shiro.annotion.Permission;
import cn.stylefeng.guns.modular.system.entity.DispatchOrderCheck;
import cn.stylefeng.guns.modular.system.model.params.DispatchOrderCheckParam;
import cn.stylefeng.guns.modular.system.model.result.DispatchOrderCheckResult;
import cn.stylefeng.guns.modular.system.model.result.resultVO.IndentOrderCheckVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订货单审核表 Mapper 接口
 * </p>
 *
 * @author ZhangJun
 * @since 2019-07-04
 */
public interface DispatchOrderCheckMapper extends BaseMapper<DispatchOrderCheck> {

    /**
     * 获取列表
     *
     * @author ZhangJun
     * @Date 2019-07-04
     */
    List<DispatchOrderCheckResult> customList(@Param("paramCondition") DispatchOrderCheckParam paramCondition);

    /**
     * 获取map列表
     *
     * @author ZhangJun
     * @Date 2019-07-04
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") DispatchOrderCheckParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author ZhangJun
     * @Date 2019-07-04
     */
    Page<IndentOrderCheckVO> customPageList(@Param("page") Page page, @Param("paramCondition") DispatchOrderCheckParam paramCondition, @Param("type") Integer type);

    /**
     * 获取分页map列表
     *
     * @author ZhangJun
     * @Date 2019-07-04
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") DispatchOrderCheckParam paramCondition);

}
